<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>教学视频库</title>
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/jiaoxue.css">
    <style>
        /* 播放按钮样式 */
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .play-button::before {
            content: "▶";
            font-size: 24px;
            color: #d32f2f;
        }

        .play-button:hover {
            background-color: rgba(255, 255, 255, 1);
        }
    </style>
</head>
<body>

<!-- 主体结构 -->
<main class="page-layout">

    <!-- 工具面板 -->
    <aside class="tool-panel">

        <!-- 视频搜索 -->
        <div class="video-search">
            <input type="text" placeholder="搜索视频标题或关键词" class="search-input">
            <button class="search-btn">搜索</button>
        </div>

        <!-- 分类筛选 -->
        <div class="category-filter">
            <h3>视频分类</h3>
            <select class="filter-select">
                <option value="">全部</option>
                <option value="建模">建模</option>
                <option value="渲染">渲染</option>
                <option value="动画">动画</option>
                <option value="后期">后期处理</option>
            </select>
        </div>

        <!-- 视频列表 -->
        <section class="video-list">
            <h2>所有视频</h2>
            <table class="video-table">
                <tr><th>标题</th><th>时长</th><th>发布日期</th></tr>
                <tr>
                    <td><a href="#video1" class="video-link">3D建模入门教程</a></td>
                    <td>45分钟</td>
                    <td>2024-07-01</td>
                </tr>
                <tr>
                    <td><a href="#video2" class="video-link">D5渲染进阶技巧</a></td>
                    <td>60分钟</td>
                    <td>2024-06-20</td>
                </tr>
                <tr>
                    <td><a href="#video3" class="video-link">Blender基础操作</a></td>
                    <td>50分钟</td>
                    <td>2024-06-15</td>
                </tr>
                <tr>
                    <td><a href="#video4" class="video-link">材质贴图设置详解</a></td>
                    <td>35分钟</td>
                    <td>2024-06-10</td>
                </tr>
                <tr>
                    <td><a href="#video5" class="video-link">V-Ray 渲染全流程</a></td>
                    <td>70分钟</td>
                    <td>2024-05-28</td>
                </tr>
                <tr>
                    <td><a href="#video6" class="video-link">After Effects 后期合成</a></td>
                    <td>60分钟</td>
                    <td>2024-05-18</td>
                </tr>
            </table>
        </section>

        <!-- 热门推荐 -->
        <section class="popular-recommend">
            <h2>热门推荐</h2>
            <ul class="recommend-list">
                <li><a href="#">C4D 动画速成课</a></li>
                <li><a href="#">Unreal Engine 入门</a></li>
                <li><a href="#">Maya 骨骼绑定教程</a></li>
            </ul>
        </section>

    </aside>

    <!-- 工作区：视频播放器 -->
    <section class="workspace">
        <section class="video-player" id="video1">
            <h2>3D建模入门教程</h2>
            <div class="player-container">
                <img src="https://via.placeholder.com/1280x720?text=视频封面+示例" alt="视频封面" class="video-cover">
                <div class="play-button" onclick="alert('开始播放视频')"></div>
            </div>
        </section>
    </section>

    <!-- 侧边栏 -->
    <aside class="side-panel">
        <section class="user-section">
            <h3>我的收藏</h3>
            <ul class="favorite-list">
                <li><a href="#">3D建模入门教程</a></li>
                <li><a href="#">材质贴图设置详解</a></li>
            </ul>
        </section>

        <section class="user-section">
            <h3>最近观看</h3>
            <ul class="history-list">
                <li><a href="#">V-Ray 渲染全流程</a></li>
                <li><a href="#">After Effects 后期合成</a></li>
            </ul>
        </section>
    </aside>

</main>

</body>
</html>